package zjitc.po;

import java.util.List;

/**
 * Create by IntelliJ IDEA
 *
 * @author: jsonor
 * @date-Time: 2018/4/12 16:54
 * @description:
 */
public class User {
    private Integer uid;
    private String username;
    private String password;
    private String email;
    private String phone;
    private String addr;
    private String name;
    private List<Evaluate> evaluateList;

  public List<Evaluate> getEvaluateList() {
    return evaluateList;
  }

  public void setEvaluateList(List<Evaluate> evaluateList) {
    this.evaluateList = evaluateList;
  }

  public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getUid() {
        return uid;
    }

    public void setUid(Integer uid) {
        this.uid = uid;
    }

    public String getUsername() {
        return username;
    }

    public void setUsername(String username) {
        this.username = username;
    }

    public String getPassword() {
        return password;
    }

    public void setPassword(String password) {
        this.password = password;
    }

    public String getEmail() {
        return email;
    }

    public void setEmail(String email) {
        this.email = email;
    }

    public String getPhone() {
        return phone;
    }

    public void setPhone(String phone) {
        this.phone = phone;
    }

    public String getAddr() {
        return addr;
    }

    public void setAddr(String addr) {
        this.addr = addr;
    }


  public User() {
  }

  public User(Integer uid, String username, String password, String email, String phone,
      String addr, Integer role) {
    this.uid = uid;
    this.username = username;
    this.password = password;
    this.email = email;
    this.phone = phone;
    this.addr = addr;

  }

    @Override
    public String toString() {
        return "User{" +
                "uid=" + uid +
                ", username='" + username + '\'' +
                ", password='" + password + '\'' +
                ", email='" + email + '\'' +
                ", phone='" + phone + '\'' +
                ", addr='" + addr + '\'' +
                ", name='" + name + '\'' +
                '}';
    }
}
